﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FB9 RID: 4025
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueNpcDisappearCsReq : IMessage<RogueNpcDisappearCsReq>, IMessage, IEquatable<RogueNpcDisappearCsReq>, IDeepCloneable<RogueNpcDisappearCsReq>, IBufferMessage
	{
		// Token: 0x170032F3 RID: 13043
		// (get) Token: 0x0600B426 RID: 46118 RVA: 0x001E645C File Offset: 0x001E465C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueNpcDisappearCsReq> Parser
		{
			get
			{
				return RogueNpcDisappearCsReq._parser;
			}
		}

		// Token: 0x170032F4 RID: 13044
		// (get) Token: 0x0600B427 RID: 46119 RVA: 0x001E6463 File Offset: 0x001E4663
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueNpcDisappearCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032F5 RID: 13045
		// (get) Token: 0x0600B428 RID: 46120 RVA: 0x001E6475 File Offset: 0x001E4675
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueNpcDisappearCsReq.Descriptor;
			}
		}

		// Token: 0x0600B429 RID: 46121 RVA: 0x001E647C File Offset: 0x001E467C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueNpcDisappearCsReq()
		{
		}

		// Token: 0x0600B42A RID: 46122 RVA: 0x001E6484 File Offset: 0x001E4684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueNpcDisappearCsReq(RogueNpcDisappearCsReq other) : this()
		{
			this.disappearNpcEntityId_ = other.disappearNpcEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B42B RID: 46123 RVA: 0x001E64A9 File Offset: 0x001E46A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueNpcDisappearCsReq Clone()
		{
			return new RogueNpcDisappearCsReq(this);
		}

		// Token: 0x170032F6 RID: 13046
		// (get) Token: 0x0600B42C RID: 46124 RVA: 0x001E64B1 File Offset: 0x001E46B1
		// (set) Token: 0x0600B42D RID: 46125 RVA: 0x001E64B9 File Offset: 0x001E46B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DisappearNpcEntityId
		{
			get
			{
				return this.disappearNpcEntityId_;
			}
			set
			{
				this.disappearNpcEntityId_ = value;
			}
		}

		// Token: 0x0600B42E RID: 46126 RVA: 0x001E64C2 File Offset: 0x001E46C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueNpcDisappearCsReq);
		}

		// Token: 0x0600B42F RID: 46127 RVA: 0x001E64D0 File Offset: 0x001E46D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueNpcDisappearCsReq other)
		{
			return other != null && (other == this || (this.DisappearNpcEntityId == other.DisappearNpcEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B430 RID: 46128 RVA: 0x001E6500 File Offset: 0x001E4700
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DisappearNpcEntityId != 0U)
			{
				num ^= this.DisappearNpcEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B431 RID: 46129 RVA: 0x001E653F File Offset: 0x001E473F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B432 RID: 46130 RVA: 0x001E6547 File Offset: 0x001E4747
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B433 RID: 46131 RVA: 0x001E6550 File Offset: 0x001E4750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DisappearNpcEntityId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.DisappearNpcEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B434 RID: 46132 RVA: 0x001E6584 File Offset: 0x001E4784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DisappearNpcEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DisappearNpcEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B435 RID: 46133 RVA: 0x001E65C2 File Offset: 0x001E47C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueNpcDisappearCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DisappearNpcEntityId != 0U)
			{
				this.DisappearNpcEntityId = other.DisappearNpcEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B436 RID: 46134 RVA: 0x001E65F3 File Offset: 0x001E47F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B437 RID: 46135 RVA: 0x001E65FC File Offset: 0x001E47FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DisappearNpcEntityId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040048D0 RID: 18640
		private static readonly MessageParser<RogueNpcDisappearCsReq> _parser = new MessageParser<RogueNpcDisappearCsReq>(() => new RogueNpcDisappearCsReq());

		// Token: 0x040048D1 RID: 18641
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048D2 RID: 18642
		public const int DisappearNpcEntityIdFieldNumber = 4;

		// Token: 0x040048D3 RID: 18643
		private uint disappearNpcEntityId_;
	}
}
